const Cache = require('cache');
const path = require("path")
module.exports = app => {

    app.cache = new Cache();
    app.once('server', server => {
        console.log("The current running environment is"+app.config.env)
        console.log("The current static directory is"+app.config.static.dir)
    });
    app.on('error', (err, ctx) => {
    });
    app.on('request', ctx => {
    });
    app.on('response', ctx => {

    });
};
